package com.xjscrm.console.entity;

import lombok.Data;

/**
 * 聊天回话(ChatTalkSession)表实体类
 *
 * @author szl
 * @since 2024-04-15 10:38:44
 */
@Data
public class ChatTalkSession {
    //主键id
    private Long id;
    //运营商
    private Long merId;
    //机器人id
    private Long deviceUniqueId;
    //机器人wxId
    private String deviceId;
    //机器人类型
    private Integer deviceType;
    //回话id. 可为单聊或群聊微信id
    private String conversationId;
    //回话名称, 私聊为好友名称, 群聊为群名
    private String conversationName;
    //回话头像
    private String conversationAvatar;
    //回话备注
    private String conversationRemark;
    //会话类型. 110:单聊, 111:群聊
    private Integer type;
    //最后一条聊天记录
    private Long lastRecvId;
    //最后接收消息时间
    private Integer lastRecvTime;
    //最后一次已读时间
    private Integer lastReadTime;
    //开启屏蔽, 0:关闭,1:打开
    private Integer openShield;
    //屏蔽时间
    private Integer openShieldTime;
    //创建时间
    private Integer createTime;
    //更新时间
    private Integer updateTime;
}